<html>
<head style="color:red; z-index: 1;">
  <meta charset="UTF-8" />
  <title>自动化测试-元素获取上报</title>
  <script type="text/javascript" src="dialog.js"></script>
  <script src="jquery.js" type="text/javascript"></script>
  <script src="init.js" type="text/javascript"></script>
  <link rel="stylesheet" href="styles.css">
</head>
<header class='headerBar1'>
  <div>
    <span>
      <B>自动化测试-元素获取上报</B> : Kuaipu
    </span>
  </div>
</header>
<body style="background-color:#373f46;">
  <div class='containerXPath'>
    <div style="height: 22; padding: 2;">
      <text class='txt'>主窗体标题:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputWinTitle"></input>
      </span>
      <span>
        <button id="copyWinTitle" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
    <div style="height: 22; padding: 2;">
      <text class='txt'>页面标题:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputPageTitle"></input>
      </span>
      <span>
        <button id="copyPageTitle" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
    <div style="height: 22; padding: 2;">
      <text class='txt'>元素名称:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputEleName"></input>
      </span>
      <span>
        <button id="copyEleName" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
    <div style="height: 22;padding: 2;">
      <text class='txt'>XPath路径:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputXPath"></input>
      </span>
      <span>
        <button id="copyXPath" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
    <div style="height: 22; padding: 2;">
      <text class='txt'>系统版本:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputVersion"></input>
      </span>
      <span>
        <button id="copyVersion" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
    <div style="height: 22; padding: 2;">
      <text class='txt'>iFrame网址:</text>
    </div>
    <div>
      <span>
        <input type='text' class='xpt topTxtSize' id="inputIframe"></input>
      </span>
      <span>
        <button id="copyIframe" class="w3-btn copybtn" title="复制">复制</button>
      </span>
    </div>
  </div>
  <br>
  <div>
  <span class="warningMessage"   style="float:center; margin-left: 120px; background-color: #ea4335;"></span>
  <span style="float:right">
  <button id="add" class="w4-btn btnColor" title="Add the above update on grid">添加一行</button>
  <button id="save" class="w4-btn btnColor coolColor" title="Save the above update on the grid">替换选中</button>
  <button id="delBtn" class="w4-btn btnColor redColor" title="Delete any row from the grid">删除选中</button>
  </span>
  </div>
<br>
  <text class='txt'>元素列表</text>
  <br>
  <table id="elemetTable" border='1' cellpadding="1" cellspacing="0" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
      <thead>
        <tr>
          <th style="width: 15%;"><text>主窗体标题</text></th>
          <th style="width: 15%;"><text>页面标题</text></th>
          <th style="width: 15%;"><text>元素名称</text></th>
          <th style="width: 15%;"><text>XPath路径</text></th>
          <th style="width: 15%;"><text>系统版本</text></th>
          <th style="width: 15%;"><text>iFrame网址</text></th>
          <th style="width: 10%;"><input id="selectAll" name="selectAll" type="checkbox"></input></th>
        </tr>
      </thead>
      <tr id="row0" hidden="true">
        <td><input class='rowtxt' type="text" id="Win0" name="win_name" style="width:98%" value="主窗体标题" />
        </td>
        <td><input class='rowtxt' type="text" id="Page0" name="page_name" style="width:98%" value="页面标题" />
        </td>
        <td><input class='rowtxt' type="text" id="EleName0" name="name" style="width:98%" value="元素名称" />
        </td>
        <td><input class='rowtxt' type="text" id="Xpath0" name="elementValue" style="width:98%" value="XPath路径" />
        </td>
        <td><input class='rowtxt' type="text" id="Version0" name="version" style="width:98%" value="版本" />
        </td>
        <td><input class='rowtxt' type="text" id="Frame0" name="iframe" style="width:98%" value="iFrame网址" />
        </td>
		<td style='display:none;'><input class='rowtxt' type="hidden" name="elementBy" style="width:98%" value="XPATH" />
		</td>
        <td><input name="eles" disabled type="checkbox" />
		</td>
      </tr>
      <tr hidden="true">
        <td align="center" colspan="7">
        </td>
      </tr>
  </table>
  <br>
  <div>
  <span align:bottom>
  <button id="add2" class="w4-btn btnColor" title="Add the above update on grid" style="display: none;">添加</button>
  <button id="edit" class="w4-btn btnColor" title="Edit any row from the grid" style="display: none;">编辑</button>
  <button id="push" class="w4-btn btnColor coolColor" title="Push">上传</button>
  <button id="imp" class="w4-btn btnColor coolColor" title="Export" style="display: none;">导出</button>
  <select id="downloadtype" class="w4-btn btnColor coolColor dropDownHeight" title=请选择导出类型" style="display: none;">
          <option class=fileNameDDoption value="Select">选择</option>
          <option class=fileNameDDoption value="Java">Java</option>
          <option class=fileNameDDoption value="Robot">Robot</option>
          <option class=fileNameDDoption value="C#">C#</option>
          <option class=fileNameDDoption value="Excel">Excel</option>
  </select>
  </span>
  <span>
    <input type='text' class='xpt bottomTxtSize' id="fileTxtBox" Value="请输入导出文件名称" style="display:none"></input>
  </span>
  </div>
  <br>
</body>
</html>
